package com.woniuxy.happylife.suggest.dao;

import com.woniuxy.happylife.entity.Complaints;
import com.woniuxy.happylife.entity.ComplaintsDTO;

import java.util.List;
import java.util.Map;

/**
 * @Author Fu
 * @Date 2022-02-19 13:21
 */
public interface ComplaintsDao {
    int insert(Complaints complaints);

    List<Complaints> findAll(int businessId);

    int updateType(Complaints complaints);

    ComplaintsDTO findByCid(long complaintsId);

    int deleteByComplaintsId(int complaints_id);

    List<Complaints> findByCondition(Complaints complaints);
}
